﻿# -*- coding: utf-8 -*-
#检查Email地址拼写
#checkmailadder
import re
def checkmailadder(str):
    demo='[a-z,A-Z,0-9,_,-,.]*@[a-z,A-Z,0-9,_,-]*\.[a-z,A-Z,0-9]*'
    check=re.compile(demo)
    mail=[str]
    tmail=check.findall(str)
    return tmail==mail
    
